<?php
/* @var $this DepositController */
/* @var $model CmpDeposit */

?>
 <table class="list_table list_table2 promotion_box" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td class="pl15">
			<?php echo CHtml::checkBox('id[]','',array('class'=>'chk','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zcd_id))?>
			<span>买家退款</span>
		</td>
		<td width="18%"><?php echo CmpDeposit::model()->getActType($data->zcd_type)?></td>
		<td width="18%">
			<?php if($data->zcd_type==1){?>
				<strong class="c_f60">+<?php echo $data->zcd_amount?></strong>
			<?php }else{?>
				<strong class="c_green3">-<?php echo $data->zcd_amount?></strong>
			<?php }?>
		</td>
		<td width="18%"><strong><?php echo $data->zcd_amount_log?></strong></td>
		<td width="20%"><?php echo date('Y-m-d H:i',$data->inputtime)?></td>
		<td class="operate" width="8%">
			<div class="box ">
				<a class="c_06c view" href="javascript:" title="">查看</a>
				<?php if($data->zcd_type==1){?>
				<div class="view_box ">
					<span class="man_bg view_bg"></span>
					<h3 class="c_f60"><?php echo $data->company->zc_name?></h3>
					<ul class="meetgive_li">
						<li><span class="tit">充值金额：</span><span><strong><?php echo $data->zcd_amount?></strong>元</span></li>
						<li><span class="tit">充值时间：</span><span><?php echo date('Y-m-d H:i',$data->inputtime)?></span></li>
						<li><span class="tit">支付方式：</span><span>支付宝</span></li>
					</ul>
				</div>
				<?php }?>
			</div>
		</td>
	</tr>
 </table>
